package com.example.hospital.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.hospital.pojo.Patient;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PatientMapper extends BaseMapper<Patient> {
    IPage<Patient> getPatientByPage(Page<Patient> page,@Param("keyword") String keyword);

    List<Patient> getSymptom(@Param("id") Integer id);

    List<Patient> getOperation(@Param("id") Integer id);

    List<Patient> getBasic(@Param("id") Integer id);
}
